package cn.nbs.book.service;

import java.util.List;

import cn.nbs.book.dao.BookDao;
import cn.nbs.book.entity.Book;

public class BookService {
	private BookDao dao = new BookDao();

	public List<Book> findByCategory(String cid) {
		return dao.findByBookCid(cid);
	}

	public Book load(String bid) {
		return dao.findByBid(bid);
	}
}
